newMod("echo")
echo.var("prefix","Server echoed: ", "svar")

--Act - Command "/echo"

--print(echo.prefix)

function adm_echo_admin(p, typ, cmd)
	msg2(p, echo.prefix..cmd)
end

--Admin - Command "@echo_prefix"

function adm_echoprefix_admin(p, typ, cmd)
	echo.setvar("prefix", cmd, true)
end

--Hooks

--hook_init
function hook_init_echo()
	print("Echo Initiated")
end

function hook_kill_echo(k, v, w)
	msg(player(v, "name").." has been killed by "..player(k,"name"))
end

return echo.name
